import service from "../request/myService";

// 注册账号
// export const goRegisterApi = (data) => service.post('/api/user/register', {data})

export const goRegisterApi = (data) => {
    return service({
        url: "/api/user/register",
        method: "post",
        data
    })
}

// 登录
export const LoginApi = (data) => {
    return service({
        url: "/api/user/login",
        method: "post",
        data
    })
}